#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;

class Base
{
public:
	void print()
	{
		cout << "Base" << endl;
	}
};

class Son : public Base
{
public:
	void print()
	{
		cout << "Son" << endl;
	}
};



int main()
{
	Son s1;
	Base* p1 = &s1;
	p1->print();
	return 0;
}